package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: 2022-04-19_userCenter
 * @description: 企业2要素信息比对
 * @author: syf
 * @create: 2022-04-19
 **/
@Data
@ApiModel(value = "企业2要素信息比对", description = "企业2要素信息比对")
public class Bureau2FactorsReq extends BaseReqObj {


    private static final long serialVersionUID = 8589037165784261616L;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称", notes = "企业名称", dataType = "String", required = true)
    @NotEmpty(message = "企业名称不能为空")
    private String name;

    /**
     * 企业统一社会信用代码或工商注册号
     */
    @ApiModelProperty(value = "企业统一社会信用代码或工商注册号", notes = "企业统一社会信用代码或工商注册号", dataType = "String", required = true)
    @NotEmpty(message = "企业统一社会信用代码或工商注册号不能为空")
    private String orgCode;
}
